package com.lc.YYGH.hosp.repository;


import com.lc.YYGH.model.office.Lawer;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface LawerRepository extends MongoRepository<Lawer,String> {
    Lawer findByOfficecodeAndLawercode(String officecode, String lawercode);
    List<Lawer> findByOfficecode(String officecode);
}
